'use strict';

var AV = require('leanengine');

require('./cloudFunctions/user')
require('./cloudFunctions/match')
require('./cloudFunctions/tournament')
require('./cloudFunctions/tournamentRealtime')
require('./cloudFunctions/doubles')
require('./cloudFunctions/notification')
require('./cloudFunctions/bigTeams')

/**
 * 一个简单的云代码方法
 */
AV.Cloud.define('hello', function(request, response) {
  response.success('Hello world!');
});

module.exports = AV.Cloud;
